﻿<%@ page title="" language="C#" masterpagefile="~/Admin/MasterPage.master" autoeventwireup="true" inherits="Admin_Category_CateDetail, App_Web_0laistod" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div style="text-align: center; font-weight: bold">
        <asp:Label ID="lblMsg" ForeColor="Red" runat="server" Text=""></asp:Label>
    </div>
    <table class="auto-style1">
        <tr>
            <td class="auto-style2">&nbsp;</td>
            <td class="auto-style4">
                <h1 style="font-weight: bold">Thêm / Sửa Danh Mục</h1>
            </td>
        </tr>

        <tr>
            <td class="auto-style2"></td>
            <td class="auto-style4">
                <asp:Image ID="txtImage" Height="100px" runat="server" />
            </td>
            <td class="auto-style4">&nbsp;</td>
        </tr>

        <tr>
            <td class="auto-style2">Hình đại diện</td>
            <td class="auto-style4">
                <asp:FileUpload ID="FileUpload1" runat="server" CssClass="textbox" Height="25px" />
            </td>
            <td class="auto-style4">&nbsp;</td>
        </tr>

        <tr>
            <td class="auto-style2">Chọn danh mục</td>
            <td class="auto-style4">
                <asp:DropDownList ID="ddlCate" runat="server" CssClass="textbox" Height="25px" Width="300px">
                </asp:DropDownList>
            </td>
        </tr>

        <tr>
            <td class="auto-style2">Tên danh mục</td>
            <td class="auto-style4">
                <asp:TextBox ID="txtTitle" runat="server" CssClass="textbox" Height="25px" Width="300px"></asp:TextBox>
            </td>
        </tr>

        <tr>
            <td class="auto-style2">Tên danh mục - En</td>
            <td class="auto-style4">
                <asp:TextBox ID="txtTitle_en" runat="server" CssClass="textbox" Height="25px" Width="300px"></asp:TextBox>
            </td>
        </tr>

        <tr>
            <td class="auto-style2">Vị trí</td>
            <td class="auto-style4">
                <asp:TextBox ID="txtOrder" Text="0" runat="server" CssClass="textbox" Height="25px" Width="300px"></asp:TextBox>
            </td>
        </tr>

        <tr>
            <td class="auto-style2">Trạng thái</td>
            <td class="auto-style4">
                <asp:CheckBox ID="cbStatus" runat="server" />
            </td>
        </tr>

        <tr>
            <td class="auto-style2"></td>
            <td class="auto-style4">&nbsp;</td>
        </tr>

        <tr>
            <td class="auto-style2" style="width: 200px"></td>
            <td class="auto-style4">
                <asp:Button ID="btnSave" runat="server" CssClass="buttonblue" Text="Lưu" OnClick="btnSave_Click" />
            </td>
        </tr>
    </table>
</asp:Content>

